[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
it be done manually ? Thanks for your help. List : Command/ attachment Command/ background Command/ bar Command/ beginblock Command/ button Command/ characterkerning Command/ comment Command/ completecombinedlist Command/ completelistoffloats Command/ completelistofsorts Command/ completeli

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
On Wed, 17 Nov 2021 11:54:52 -0700, Hans Hagen via ntg-context wrote: Blocks are a better mechanism, but I still prefer modes here because I find the \beginblock ... \endblock syntax to be a bit awkward in a context document. it also depends on usage ... you can have blocks and delay

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Hans Hagen via ntg-context
] \stopmode \starttext \startabridged \input knuth \startunabridged \startblockquote \input ward \stopblockquote \stopunabridged \input zapf \stopabridged Blocks are a better mechanism, but I still prefer modes here because I find the \beginblock ... \endblock syntax to be a bit awkward in a context

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Aditya Mahajan via ntg-context
gt; \stopmode > > % \startmode[abridged] > % \input zapf > % \stopmode > \stoptext > === > > Unfortunately - as pointed out on the wiki - modes cannot be nested. But you don't have to directly use the modes. The following will work: \definestartstop[abridged]

Re: [NTG-context] How to check if buffer or block has content

2021-08-03 Thread Benjamin Buchmuller via ntg-context
blocks quite >> frequently …) >> I just realized they are probably handled very differently during the >> typesetting. Basically I would just need to test if during the first run any >> of \beginBLOCK … \endBLOCK was invoked (but if one gets a test for some >> content in-be

Re: [NTG-context] How to check if buffer or block has content

2021-08-03 Thread Hans Hagen via ntg-context
commands that test for empty "objects". Is there an option for testing blocks? (I actually use blocks quite frequently …) I just realized they are probably handled very differently during the typesetting. Basically I would just need to test if during the first run any of \beginBLOCK …

Re: [NTG-context] How to check if buffer or block has content

2021-08-03 Thread Hans Hagen via ntg-context
commands that test for empty "objects". Is there an option for testing blocks? (I actually use blocks quite frequently …) I just realized they are probably handled very differently during the typesetting. Basically I would just need to test if during the first run any of \beginBLOCK …

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Benjamin Buchmuller via ntg-context
an option for testing blocks? (I actually use blocks quite frequently …) I just realized they are probably handled very differently during the typesetting. Basically I would just need to test if during the first run any of \beginBLOCK … \endBLOCK was invoked (but if one gets a test for some content

Re: [NTG-context] Defining a command for enumeration+block

2010-11-20 Thread Glen Callaghan
--- \defineblock[Block] \defineenumeration[Enum][location=left,text=Test] \setupblock[Block][before=\startEnum,after=\stopEnum] \keepblocks[Block] \starttext \section{Use} \useblocks[Block] \reset[Enum] \section{Define} \beginBlock jhdsa hdsfhj lh dsfjh jkhasdf sdakjhfsal sdkajhf kljsdh

[NTG-context] Defining a command for enumeration+block

2010-11-18 Thread Glen Callaghan
Hello, I'm having some problems using blocks and enumeration together. I can get it to work using something like this (see complete minimal example further down): \beginBlock \startEnum Some text A \stopEnum \endBlock But it doesn't seem to work

Re: [NTG-context] Defining a command for enumeration+block

2010-11-18 Thread Wolfgang Schuster
Am 18.11.2010 um 12:15 schrieb Glen Callaghan: Hello, I'm having some problems using blocks and enumeration together. I can get it to work using something like this (see complete minimal example further down): \beginBlock \startEnum Some text A \stopEnum

[NTG-context] Blocks in a macro?

2005-02-14 Thread Michal Kvasnicka
Good evening. How can I include \beginblock ... \endblock into a macro? I have defined: \defineblock[question] \defineblock[answer] \defineenumeration[question][location=serried, coupling=answer] \defineenumeration[answer][location=serried, coupling=answer] \hideblocks[answer] I'd